import { App } from "vue";
import { registerEditorProvider } from "@ibiz-template/runtime";
import { RateEditorProvider } from "./i-biz-rate.provider";
import Rate from "./i-biz-rate.vue";

export const IBizRate = {
  install(v: App) {
    v.component("IBizRate", Rate);
    registerEditorProvider("MOBRATING", () => new RateEditorProvider());
  },
};
